package com.yzt.zhuju.network.biz;

/**
 * author : bob
 * date   : 2022/11/29
 * desc   :
 */
public class BizLayer {

    private static final BizLayer singleton = new BizLayer();

    public static BizLayer getInstance() {
        return singleton;
    }

    /**
     * 我的
     */
    private final MineModule mMineModule;
    /**
     * 账号
     */
    private final AccountModule mAccountModule;
    /**
     * 消息
     */
    private final MessageModule mMessageModule;
    /**
     * 系统
     */
    private final SystemModule mSystemModule;
    /**
     * 聊天室
     */
    private final ChatRoomModule mChatRoomModule;
    /**
     * 首页
     */
    private final IndexModule mSayuModule;
    /**
     * 礼物
     */
    private final GiftModule mGiftModule;

    /**
     * 动态模块
     */
    private final DynamicModule mDynamicModule;

    private BizLayer() {
        mMineModule = new MineModule();
        mAccountModule = new AccountModule();
        mMessageModule = new MessageModule();
        mSystemModule = new SystemModule();
        mChatRoomModule = new ChatRoomModule();
        mSayuModule = new IndexModule();
        mGiftModule = new GiftModule();
        mDynamicModule = new DynamicModule();
    }

    public MineModule getMineModule() {
        return mMineModule;
    }

    public AccountModule getAccountModule() {
        return mAccountModule;
    }

    public MessageModule getMessageModule() {
        return mMessageModule;
    }

    public SystemModule getSystemModule() {
        return mSystemModule;
    }

    public IndexModule getIndexModule() {
        return mSayuModule;
    }

    public GiftModule getGiftModule() {
        return mGiftModule;
    }

    public ChatRoomModule getChatRoomModule() {
        return mChatRoomModule;
    }

    public DynamicModule getDynamicModule() {
        return mDynamicModule;
    }
}
